package com.jeespring.chapter01.section02;

public class LoginServlet {
	private static String usernameRef;
	private static String passwordRef;
	
	public static void doPost(String username,String password) {
		try {
			usernameRef = username;
			if(username.equals("a")) {
				Thread.sleep(3000);
			}
			passwordRef = password;
			System.out.println("username="+usernameRef + ", password=" + password);
		}catch (Exception e) {
			e.printStackTrace();
		}
	}

}
